Groundhogg\DB\DB D

Total Complexity 221
Dependencies 7
Dependents 13
Total lines 1,667
Lines of code 840
Logical lines of code 522
Comment lines 464
Methods 70
Properties 11

Methods 70

Method Rating Maintainability Complexity Lines of code
get_sql()
D
29
32 114
parse_query_vars()
D
32 32 96
build_advanced_where_statement()
C
33 28 96
advanced_query()
A
45 11 42
delete()
A
51 8 26
generate_where()
S
54 7 20
update()
S
52 6 24
cache_get_last_changed()
S
55 5 20
exists()
S
56 4 19
cache_get()
S
56 4 18
commit_batch_insert()
S
55 3 19
batch_insert()
S
56 3 18
cache_set()
S
61 3 12
symbolize_comparison()
S
55 2 20
mass_update()
S
58 2 16
contact_merged()
S
64 3 10
update_db()
S
72 3 5
_exists()
S
76 3 3
get_column_by()
S
59 2 13
bulk_delete()
S
60 2 13
count()
S
61 2 12
get_by()
S
60 2 12
insert()
S
57 1 16
generate_search()
S
66 2 8
get_max_index_length()
S
78 2 3
create_object()
S
69 2 7
query()
S
70 2 6
get_allowed_comparisons()
S
61 1 15
drop()
S
67 2 8
cache_set_last_changed()
S
68 2 7
__construct()
S
62 1 11
get_column_defaults()
S
82 1 3
get_table_name()
S
82 1 3
get_primary_key()
S
100 1 0
is_global_multisite()
S
82 1 3
get_allowed_relationships()
S
80 1 3
get_allowed_columns()
S
80 1 3
add_additional_actions()
S
91 1 2
get_date_key()
S
82 1 3
sum()
S
67 1 8
get_db_suffix()
S
100 1 0
found_rows()
S
76 1 4
get_date_created()
S
69 1 6
drop_column()
S
75 1 4
truncate()
S
76 1 4
render_table_name()
S
72 1 5
installed()
S
80 1 3
table_exists()
S
72 1 5
create_table()
S
100 1 0
get_db_version()
S
100 1 0
get_charset_collate()
S
77 1 4
add()
S
70 1 7
clear_cache()
S
79 1 3
get_column()
S
79 1 3
get()
S
79 1 3
get_searchable_columns()
S
73 1 5
column_is_searchable()
S
79 1 3
has_column()
S
79 1 3
get_columns()
S
82 1 3
search()
S
68 1 7
clear_whole_cache()
S
80 1 3
get_charset()
S
77 1 4
get_cache_group()
S
80 1 3
get_id_key()
S
82 1 3
flush_cache()
S
80 1 3
get_meta_table()
S
80 1 3
get_object_type()
S
100 1 0
register_table()
S
71 1 5
get_collate()
S
77 1 4
delete_orphaned_meta()
S
79 1 3